package net.xo68.coordinator.core;

import net.xo68.coordinator.core.gid.GidProperties;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 协调中心核心自动配置
 * @author wuxie
 * @version 2020-9-24
 */
@Configuration
@EnableConfigurationProperties({CoordinatorProperties.class, GidProperties.class})
@ConditionalOnProperty(prefix = "wuxie.coordinator", value = "enable",havingValue = "true", matchIfMissing = true)
public class CoordinatorCoreConfiguration {

}
